package map.android.baidu.carpool.response;

import com.baidu.lbs.net.http.response.ComNetResponse;

import java.io.Serializable;

/**
 * Created by zhangtongyu on 15/4/4.
 */
public class UserCenterResponse extends ComNetResponse implements Serializable{
    private static final long serialVersionUID = -361743728317644230L;

    public int errNo;
    public String errMsg;
    public UserCenterRoot data;

    public class UserCenterRoot implements Serializable{
        private static final long serialVersionUID = -8886755906736353255L;
        public String unFinishedOrderNum;
        public UserInfoSimple userInfo;
        public String discountDesc;
        public String showInvitationCode;
    }

    public class UserInfoSimple implements Serializable{
        private static final long serialVersionUID = -5394969309297540926L;
        public String userPic;
        public String mobile;
        public String nickname;
        public String gender;
    }

    @Override
    public boolean isBadResponse() {
        return false;
    }

    @Override
    public int getErrorNo() {
        return errorNo;
    }

    @Override
    public String getErrorMsg() {
        return errorMsg;
    }
}
